Login Travis with your Github account.
Choose the repository you want to build via Travis.
Setting your build:
Prepare a .travis.yml
, such as a Flask project:
|
|
Due to the Flask project need to run a server in your computer, so we cannot use the script python app.py
, nosetests app.py
can be used to avoid this issue.
Result: build passing
Then we can get a blingbling ico:
Or get failed!
PS: requirements.txt
is need to add.